.logo-name-img {
  width: 90px;
  margin-right: -29px;
  padding-left: 194px;
}

body {
  background-color: #F3F6F9;
}

.header {
  margin-top: 0;
  height: 9vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 3px 15px;
  margin: auto auto;
  box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  background-color: white;

  a {
    text-decoration: none;
    color: #999;
  }
}
nav ul {
  display: flex;
  list-style: none;
  font-size: 20px;

  li {
    margin-right: 41px;
  }
}
.search-form {
  display: flex;
  align-items: center;
  margin-left: -48px;
}

.search-form label {
  display: block;
  width: 200px;
  width: 150%;
  border-radius: 0.375rem;
  border: 1px solid #edeefa;
  position: relative;
  transition: border-color 0.3s ease;
  background-color: #F8F8FA;
  height: 37px;
}

.search-form label:hover {
  border-color: #999;
}

.search-form label input {
  border: none;
  outline: none;
  padding: 7px 0;
  text-indent: 14px;
  font-size: 14px;
  background-color: transparent;
  height: 25px;
}

.search-form label .search-icon {
  position: absolute;
  left: 207px;
  top: 11px;
  font-size: 18px;
}

.ask-question-btn {
  border: none;
  width: 132px;
  height: 37px;
  border-radius: 5px;
  margin-left: 40px;
  color: white;
  background-color: #30AEF6;
  transition: all 0.3s linear;
}

.ask-question-btn:hover {
  background-color: #0665cb;
}

.logoName,
nav,
.search-form,
.user-info {
  margin-right: 101px;
}

.user-info {
  display: flex;
  align-items: center;
  margin-right: 50px;
  width: auto;
  margin-top: 9px;
}

.message,
.private-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 20px;
  cursor: pointer;
}

.message-detail,
.private-message-detail {
  font-size: 14px;
}

.message-icon,
.private-message-icon {
  font-size: 18px;
  margin-bottom: 5px;
}

.user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10%;
  overflow: hidden;
  background-color: #0665cb;
  margin-top: 0px;
}

.user-actions {
  position: relative;
  cursor: pointer;
  width: auto;
  height: 30px;
  display: flex;
  flex-direction: column;
}

/* 整体容器样式 */
.notification-container {
  width: 357px;
  height: 468px;
  overflow: hidden;
  border-radius: 7px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  position: absolute;
  right: -303px;
  top: 29px;
  background-color: white;
  opacity: 0;
  transform: scale(0);
  transform-origin: center;
  transition: all ease-in-out 0.5s;
  z-index: 101;
}

.notification-container2 {
  width: 357px;
  height: 468px;
  overflow: hidden;
  border-radius: 7px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  position: absolute;
  right: -236px;
  z-index: 101;
  top: 37px;
  background-color: white;
  opacity: 0;
  transform: scale(0);
  transform-origin: center;
  transition: all ease-in-out 0.5s;
}

.message::before {
  content: "";
  background-color: #3487FF;
  transition: linear 0.3s;
  width: 0px;
  height: 1.5px;
  position: absolute;
  left: 0px;
  top: 49px;
}

.message:hover {
  color: #3487FF;
}

.message:hover::before {
  width: 30px;
}

.private-message::before {
  content: "";
  background-color: #3487FF;
  transition: linear 0.3s;
  width: 0px;
  height: 2px;
  position: absolute;
  left: -4px;
  top: 50px;
}

.private-message:hover {
  color: #3487FF;
}

.private-message:hover::before {
  width: 43px;
}

/* 顶部标题栏样式 */
.notification-header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 40px;
  border-bottom: 1px solid #e9ecef;
  border-radius: 7px;
}

.message:hover .notification-container {
  opacity: 1;
  transform: scale(1);
  z-index: 120;
}

.private-message:hover .notification-container2 {
  opacity: 1;
  transform: scale(1);
  z-index: 120;
}

/* 菜单、用户、收藏文字样式 */
.menu-text,
.user-text,
.favorites-text {
  cursor: pointer;
  color: #495057;
}
/* 通知列表样式 */
.notification-list {
  padding: 14px 21px;
  height: 353px;
  display: block;
}

/* 单个通知项样式 */
.notification-item {
  padding: 10px 15px;
  font-size: 15px;
}

/* 发送者样式 */
.sender {
  font-weight: bold;
  color: #31adf6;
}

/* 操作样式 */
.action {
  color: #6c757d;
}

/* 问题样式 */
.question {
  margin-left: 5px;
  color: #2c3136;
}

/* 时间样式 */
.time {
  color: #adb5bd;
  font-size: 14px;
}

/* 底部栏样式 */
.footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 40px;
  border-top: 1px solid #e9ecef;
}

/* 设置、查看全部通知文字样式 */
.settings-text,
.view-all-text {
  cursor: pointer;
  color: #495057;
}

.dropdown-menu {
  display: block;
  position: absolute;
  top: 51px;
  left: -38px;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  list-style: none;
  /* padding: 0px 13px; */
  width: 114px;
  overflow: hidden;
  /* width: 59px; */
  height: 0px;
  letter-spacing: 1px;
  transition: all linear 0.3s;
}

.dropdown-menu li {
  width: 100%;
  padding: 9px 13px;
}

.dropdown-menu li a {
  color: #333;
}

.message {
  position: relative;
}

.last {
  border-bottom: none;
}

.little {
  font-size: 20px;
}

.middle {
  font-size: 19px;
}

.notification-item-header {
  color: #626b74;
  padding: 16px 0;
  border-bottom: 1px solid #e9ecef;
  font-size: 15px;
  text-align: center;
}

.notification-list2 {
  height: 381px;
  display: none;
}

.notification-list2 .notification-item {
  display: flex;
  align-items: center;
}

.notification-list2 .notification-item img {
  width: 38px;
  height: 38px;
  border-radius: 10%;
  overflow: hidden;
  background-color: #0665cb;
  margin-top: 4px;
}

.notification-list2 .notification-item .notification-item-detail {
  display: flex;
  flex-direction: column;
}

.notification-list2 .notification-item span {
  font-size: 15px;
  color: #333;
}

.notification-list2 .notification-item .id {
  font-weight: bold;
  font-size: 15px;
  color: #000;
}

.notification-item-img {
  margin: auto 15px;
}

.none {
  height: 381px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.none span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #626b74;
}

.none .big {
  font-size: 80px;
  color: #c1c8ce;
  /* line-height: 313px;
        text-align: center;*/
}
.menu-text {
  color: #ff9606;
}

.menu-icon {
  color: #ff9606;
}

.notification-item:hover {
  padding: 10 15px;
  background-color: #f8f8fa;
  border-radius: 5px;
}

.mainPage::before {
  content: "";
  background-color: #3487FF;
  transition: linear 0.3s;
  width: 0px;
  height: 2px;
  position: absolute;
  left: -3px;
  top: 37px;
}

.mainPage:hover {
  color: #3487FF;
}

.mainPage:hover::before {
  width: 45px;
}

.wait-answer::before {
  content: "";
  background-color: #3487FF;
  transition: linear 0.3s;
  width: 0px;
  height: 2px;
  position: absolute;
  left: -5px;
  top: 37px;
}

.wait-answer::before:hover {
  color: #3487FF;
}

.wait-answer:hover::before {
  width: 87px;
}

.mainPage {
  position: relative;
}

.mainPage:hover a {
  color: #3487FF;
}

.wait-answer {
  position: relative;
}

.wait-answer:hover a {
  color: #3487FF;
}

.message:hover .message-icon {
  color: #3487FF;
}

.private-message:hover .private-message-icon {
  color: #3487FF;
}

.private-message {
  position: relative;
}

.notification-list3 {
  height: 381px;
}

.notification-list3 .notification-item {
  display: flex;
  align-items: center;
}

.notification-list3 .notification-item img {
  width: 38px;
  height: 38px;
  border-radius: 10%;
  overflow: hidden;
  background-color: #0665cb;
  margin-top: 4px;
}

.notification-list3 .notification-item .notification-item-detail {
  display: flex;
  flex-direction: column;
}

.notification-list3 .notification-item span {
  font-size: 15px;
  color: #333;
}

.notification-list3 .notification-item .id {
  font-weight: bold;
  font-size: 15px;
  color: #000;
}

.private-message-text {
  color: #495057;
  text-align: center;
}

.user-actions:hover .dropdown-menu {
  height: 168px;
}

.dropdown-menu li:hover a {
  color: #3487FF;
}

.dropdown-menu li:hover {
  background-color: #f8f8fa;
}

.header {
  width: 100vw;
  z-index: 10000;
  position:fixed;
}

.top-story-container {
  width: auto;
  background-color: #F3F6F9;
  display: flex;
  margin-top: 1%;
  margin-right: 1.5%;
  margin-left: 1.5%;
}

.top-story-main-column {
  width: 53%;
  margin-right: 1.2%;
  background-color: white;
}

.top-story-main-column .top-story-content-detail p .empty {
  width: 91%;
  height: 49px;
  overflow: hidden;
  white-space: normal;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.top-story-main-column .top-story-content-detail p .user-information {
  display: none;
  color: #000;
  font-weight: bold;
}

.top-story-main-column .top-story-content-detail p .user-information img {
  width: 31px;
  height: 31px;
}

.top-story-main-column .top-story-content-detail p .user-information .word-introduction {
  font-size: 13px;
  color: #626b74;
  font-weight: 400;
}